package com.SHA1604.tiger.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;

import com.SHA1604.tiger.R;

import butterknife.InjectView;
import butterknife.OnClick;

/**
 * ***********************************************************
 * author: jie
 * time: 2016/7/27 21:54
 * name:
 * overview:Build.VERSION.SDK_INT:版本号
 * usage:
 * *************************************************************
 */
public class Me_Tails extends LinearLayout {
    @InjectView(R.id.me_ll1)
    LinearLayout mMeLl1;
    @InjectView(R.id.me_ll2)
    LinearLayout mMeLl2;
    @InjectView(R.id.me_ll3)
    LinearLayout mMeLl3;

    public Me_Tails(Context context) {
        this(context, null);
    }

    public Me_Tails(Context context, AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public Me_Tails(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        initData();
    }

    private void initData() {
        LayoutInflater.from(getContext()).inflate(R.layout.view_me_tails, null);
    }

    @OnClick({R.id.me_ll1, R.id.me_ll2, R.id.me_ll3})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.me_ll1:
                break;
            case R.id.me_ll2:
                break;
            case R.id.me_ll3:
                break;
        }
    }
}
